
public class Test {

	public static void main(String args[]){

		// Values of test parameters.
		int GENERATIONS = 20;
		int NAGENTS = 100;
		int NPLAYING = 3;
		double DISTRIBUTION = 10.0;
		double MORTALITY = 0.0;
		int COOPCOST = 15;
		int DEFCOST = 0;
		int REWARD = 10;
		
		// Construction.
		Environment v = new Environment(NAGENTS, DISTRIBUTION, MORTALITY, COOPCOST, DEFCOST, REWARD);

		// Initializing data.
		v.printToData();
		
		// Executing test.
		for(int i = 1; i <= GENERATIONS; i++){

			// Printing the results.
			//System.out.println("*** Round " + i + " ***");
			v.doGeneration(NPLAYING);
			v.printToData();
		}
		
	}
}
